iconhelper: Track icon-name fallback usage in the GIcon
authorBenjamin Otte <otte@redhat.com>
Thu, 8 Oct 2015 12:34:39 +0000 (14:34 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 8 Oct 2015 12:44:38 +0000 (14:44 +0200)
commitb6bf982289273c1416ba66281b8c09a1ee6a33a4
treece4f47704cd672ba2d2a7c052338f9bc006820c6
parent3df565cbf737ec6ad87b9d8eae21a1213e656fd2
iconhelper: Track icon-name fallback usage in the GIcon

Passing GTK_ICON_LOOKUP_GENERIC_FALLBACK to the icon lookup doesn't work
for GIcons, so we have to make sure we use the right GThemedIcon.

Fixes image-icon-name-use-fallback reftest.
gtk/gtkiconhelper.c